package com.iot.server.service;

import com.iot.server.domain.SysRoleDO;

import java.util.List;

/**
 * @author wuzt
 * Date 2020/6/23 10:12
 * Version 1.0
 * @ClassName RoleService
 * Description
 **/
public interface RoleService {
    /**
     * 根据用户id获取角色
     *
     * @param userId
     * @return
     */
    List<SysRoleDO> selectRolesByUserId(String userId);
}
